Repository navigation
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cb32f80d7a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
更新一下最新进展,相关的代码调整和衔接测试已经全部完成:
把 |
Remove the nine optional cache, coalescing, request budget, cooldown, statistics, region fallback and alternate-provider controls. Keep original source settings, per-request timeouts and Apple failure fallback. Preserve unavailable Apple warnings unless enrichment changes actual data; retain opaque JSON containers and a normalized Apple fallback on overflow. Cover periodic and minute-rain edge cases and validate AQ comparison levels. Add source-native warning language preferences with Auto preserving old behavior. Normalize reserved expiry values without changing genuine times or manufacturing an event end. Preserve the original twelve defaults. Keep the PR's upstream release URLs, original display name, independent .loon.bundle.js files, package/lockfile policy and attribution. Retain all seven existing commits. Credit the referenced input-validation direction from Patrick Yan (NSRingo#108, 24c3f93) and known-container traversal from hhh2210 (NSRingo#110, f4676fe), as documented in the source. Validation: 430/430 regressions; 52 compiled Loon scenarios; 15 rewrite/jq checks; 13 declarations with all twelve original defaults preserved. Native evidence and remaining limits are documented separately.
Ref #106
这个 PR 在满足条件的主 App 请求中协商
Accept: application/json,并在收到 JSON 响应后直接复用既有供应商注入函数处理当前、逐日、逐小时三类天气。建议整体采用「JSON 优先,FlatBuffer 兜底」的路线,按实际响应的
Content-Type分流。这套方案由协议层 协议包 #1 、本 PR 的 JSON 路径以及 WeatherKit #111 的 FlatBuffer 路径共同构成,请维护者确认是否按这个方向推进。改动与修复
cloudrate0.8转换cloudCover80(先转百分比再取整)、EAQI-1、restOfDayForecast、periodic以及 UUID/枚举形态问题。v2.0.5标签(c87c1dcd)源码构建,沿用现有 lockfile,可与apple.WeatherKit#1独立审阅和合并。验证情况
EU.EAQI标准,3 个有界日志窗口合计 30 次刷新成功。详细字段映射和说明见 wk3-weather-json.md。